const getters = {
    roleCode:state => state.user.roleCode,
    username:state => state.user.username,
    addRouters:state => state.permRouters.addRouters,
    routers:state => state.permRouters.routers,
    sysRoleNames:state => state.role.allSysRoleNames,
    sysRole:state => state.role.allSysRoles
}

export default getters